//
//  UIButton+tagString.m
//  JMCategories
//
//  Created by JM on 15/12/17.
//  Copyright © 2015年 JM. All rights reserved.
//

#import "UIButton+tagString.h"
#import <objc/runtime.h>
@implementation UIButton (tagString)
static char tagString_Key;
- (NSString *)tagString {
    return objc_getAssociatedObject(self, &tagString_Key);
}

- (void)setTagString:(NSString *)tagString {
    objc_setAssociatedObject(self, &tagString_Key, tagString, OBJC_ASSOCIATION_COPY_NONATOMIC);
}

@end
